﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.Mvc;

namespace WeProjects.Helps
{
    public static class TagHelper
    {
        public static MvcHtmlString TR(this HtmlHelper html, string className)
        {
            StringBuilder result=new StringBuilder();
            TagBuilder tag=new TagBuilder("tr");
            tag.AddCssClass(className);
            result.Append(tag.ToString());
            return MvcHtmlString.Create(result.ToString());
        }
    }
}